#include <stdio.h>
int main()
{
    FILE *fp;
    fp = fopen("../b.c","w+");
    fprintf(fp,"this is output by fprintf.\n");
    fputs("this is output by fputs.\n",fp);
    fclose(fp);
    return 0;
}
